//
//  Comments.m
//  LoveOfPet
//
//  Created by 芦彬 on 15/11/18.
//  Copyright © 2015年 孔维. All rights reserved.
//

#import "Comments.h"

@implementation Comments

- (void)dealloc {
    [_avatar release];
    [_disname release];
    [_content release];
    [_time release];
    [_pcid release];
    [_pid release];
    [_pub_uid release];
    [_tarid release];
    [_tlid release];
    [super dealloc];
}

- (instancetype)initWithDictionary:(NSDictionary *)dic{
    self = [super init];
    if (self) {
        [self setValuesForKeysWithDictionary:dic];
    }
    return self;
}

+ (Comments *)commentsWithDictionary:(NSDictionary *)dictionary{
    Comments *comments = [[Comments alloc]initWithDictionary:dictionary];
    return [comments autorelease];
}

- (void)setValue:(id)value forUndefinedKey:(NSString *)key{
    
}

@end
